<%@ page language="java"  pageEncoding="UTF-8"%>
<%@ include file="/views/commons/taglibs.jsp" %>
<c:choose>
<c:when test="${!empty dataList && fn:length(dataList) ne 0}">
<div class="box white-bg">
	<c:forEach var="news" items="${dataList}" varStatus="index">
	<dl class="zxListT">
		<dt>
			<a title="${news.newsTitle}_${news.newsFrom}" href="<%=path %>/uncheck/news/view/${news.newsId}" target="_blank">
				<img src="<%=path%>/uncheck/pictures/servlet?id=${news.newsPicture}" alt="${news.newsTitle}_${news.newsFrom}" width="236" height="160" >
			</a>
		</dt>
		<dd class="title">
			<a title="${news.newsTitle}_${news.newsFrom}" href="<%=path %>/uncheck/news/view/${news.newsId}" target="_blank">${news.newsTitle}</a>
		</dd>
		<dd class="keyword">
			<fns:keyWords keyWords="${news.newsLabel}"></fns:keyWords>
		</dd>
		<dd class="content">${news.newsDigest}</dd>
		<dd class="author">
			<i class="sym sym-user"></i>
			<a>${news.newsAuthor}</a>
			<span class="zxdata">
				<span><fmt:formatDate value='${news.publishTime}' pattern='yyyy-MM-dd'/></span>
				<span class="zczj_heart">
					<i class="sym sym-appreciate"></i>
					<i class="zan_num">${news.discussNum}</i>
				</span>
			</span>
		</dd>
	</dl>
	</c:forEach>
</div>
<p:pagination pageNo="${paramMap.pageNo}" pageCount="${paramMap.pageCount}" queryFunction="queryNewsList"></p:pagination>
</c:when>
<c:otherwise>
<div  class="box white-bg">
	<div class="juti_list">
		<li>暂无记录</li>
	</div>
</div>
</c:otherwise>
</c:choose>